package com.wwdx.wechat.config.midu;

import com.wwdx.wechat.config.BaseWxConfig;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * 蜜读微信公众号主配置
 * @author liguoliang
 */
@Configuration
public class MdWxConfig extends BaseWxConfig {

    @Value("#{constantProperties['midu_wx_token']}")
    private String token;

    @Value("#{constantProperties['midu_wx_appid']}")
    private String appid;

    @Value("#{constantProperties['midu_wx_appsecret']}")
    private String appsecret;

    @Value("#{constantProperties['midu_wx_aeskey']}")
    private String aesKey;

    @Override
    public String getToken() {
        return this.token;
    }

    @Override
    public String getAppid() {
        return this.appid;
    }

    @Override
    public String getAppsecret() {
        return this.appsecret;
    }

    @Override
    public String getAesKey() {
        return this.aesKey;
    }

    @Override
    public String getMsgDataFormat() {
        return null;
    }
}